home *** CD-ROM | disk | FTP | other *** search
/ Ray Dream Studio 5 / Ray Dream.iso / pc / DreamSDK / Windows / SAMPLES / PRIMITIV / STAR / STARFAC.H < prev   
Encoding:
C/C++ Source or Header  |  1997-07-11  |  744 b   |  31 lines

  1. // Copyright (c)1995 Ray Dream, Inc. All Rights Reserved.
  2. /* $Id: StarFac.h 1.2 1996/08/07 18:36:25 DAMIEN Exp $ */
  3.  
  4. #ifndef __STARFAC__
  5. #define __STARFAC__  
  6.  
  7. #ifndef __I3DEX__
  8. #include "I3dEx.h"
  9. #endif
  10.  
  11. // Facets Class Factory :
  12. class FacetsClassFactory : public IClassFactory {
  13. public:
  14.   FacetsClassFactory(void);
  15.   ~FacetsClassFactory(void);
  16.  
  17.   //IUnknown members
  18.   STDMETHODIMP         QueryInterface(REFIID, LPVOID FAR*);
  19.   STDMETHODIMP_(ULONG) AddRef(void);
  20.   STDMETHODIMP_(ULONG) Release(void);
  21.  
  22.   //IClassFactory members
  23.   STDMETHODIMP         CreateInstance(LPUNKNOWN, REFIID, LPVOID*);
  24.   STDMETHODIMP         LockServer(BOOL);
  25. protected:
  26.   ULONG           m_cRef;
  27.   };                         
  28.  
  29. #endif
  30.  
  31.